package com.lin.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
/*生产总表*/
public class MManufacture {
    private Integer id;

    private String manufactureId;

    private String productId;

    private String productName;

    private Integer amount;

    private Integer testedAmount;

    private String applyIdGroup;

    private String productDescribe;

    private Double moduleCostPriceSum;

    private Double realModuleCostPriceSum;

    private Double labourCostPriceSum;

    private Double realLabourCostPriceSum;

    private String designer;

    private String register;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date registerTime;

    private String checker;

    private Date checkTime;

    private String remark;

    private String checkTag;

    private String manufactureProcedureTag;

    @TableField(exist = false)
    private MApply mApplie;

    @TableField(exist = false)
    private List<DFile> dFileList;

    @TableField(exist = false)
    private SPay sPayList;
}